package com.kurumi.service;

import java.util.List;
import java.util.Map;

import com.kurumi.pojo.MedicalRecord;
import com.kurumi.pojo.upload.UploadThirdScan;
import com.kurumi.query.UploadScanQuery;

public interface UploadThirdScanService {

	int uploadThirdScan(List<UploadThirdScan> uploadThirdScans);
	
	/**
	 * 获取第三方文件上传
	 * @return
	 */
	List<Map<String,Object>> getUploadThirdScanByQuery(UploadScanQuery query);
	
	/**
	 * 获取第三方文件上传数量
	 * @return
	 */
	int getUploadThirdScanCountByQuery(UploadScanQuery query);
	
	/**
	 * 病案关联
	 * @param medicalRecord
	 * @param uploadScanId
	 * @return
	 */
	int addMedicalRecordRelevance(MedicalRecord medicalRecord,Integer uploadScanId);
	
	int medicalRecordRelevance(String mrId,Integer visitNumber,Integer uploadScanId);
	
}
